package com.lucy.flow.module.transition;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface FlowTransitionDAO extends JpaRepository<FlowTransition,String> {

    /**
     * 根据id列表批量删除
     * @param ids
     */
    void deleteByIdIn(List<String> ids);

    /**
     * 根据id列表批量查询
     * @param ids
     * @return
     */
    List<FlowTransition> findByIdIn(List<String> ids);
}
